{% if forloop.first %}
    <div class="heading">
        <span>Русский</span>
        <span>Английский</span>
    </div>
{% endif %}

<div class="body">
    <span>
        <a href="{{ word.get_absolute_url }}" style="color: #fff;">
            {{ word.translate|title }}
        </a>
    </span>
    <span>{{ word.word|title }}</span>
</div>
